Optimal. Leaf size=26 \[ \frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )^{p+1}}{b (p+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0284044, antiderivative size = 26, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {2302, 30} \[ \frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )^{p+1}}{b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2302
Rule 30
Rubi steps
\begin{align*} \int \frac{\left (a+b \log \left (c \sqrt{x}\right )\right )^p}{x} \, dx &=\frac{2 \operatorname{Subst}\left (\int x^p \, dx,x,a+b \log \left (c \sqrt{x}\right )\right )}{b}\\ &=\frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )^{1+p}}{b (1+p)}\\ \end{align*}
Mathematica [A] time = 0.0066608, size = 26, normalized size = 1. \[ \frac{2 \left (a+b \log \left (c \sqrt{x}\right )\right )^{p+1}}{b (p+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.04, size = 25, normalized size = 1. \begin{align*} 2\,{\frac{ \left ( a+b\ln \left ( c\sqrt{x} \right ) \right ) ^{1+p}}{b \left ( 1+p \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.04289, size = 82, normalized size = 3.15 \begin{align*} \frac{2 \,{\left (b \log \left (c \sqrt{x}\right ) + a\right )}{\left (b \log \left (c \sqrt{x}\right ) + a\right )}^{p}}{b p + b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 16.2973, size = 48, normalized size = 1.85 \begin{align*} - \begin{cases} - a^{p} \log{\left (x \right )} & \text{for}\: b = 0 \\- \frac{2 \left (\begin{cases} \frac{\left (a + b \log{\left (c \sqrt{x} \right )}\right )^{p + 1}}{p + 1} & \text{for}\: p \neq -1 \\\log{\left (a + b \log{\left (c \sqrt{x} \right )} \right )} & \text{otherwise} \end{cases}\right )}{b} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.26272, size = 34, normalized size = 1.31 \begin{align*} \frac{2 \,{\left (b \log \left (c\right ) + \frac{1}{2} \, b \log \left (x\right ) + a\right )}^{p + 1}}{b{\left (p + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]